package com.tang.lts.core.autoconfigure.resolver;

import java.util.Map;

/**
 * @author Tang
 * @classname ResolverUtils
 * @description [  ]
 * @date 2022/4/12 22:38
 */
public class ResolverUtils {

    public static Resolver resolver(Class<?> clazz) {
        if (clazz == Class.class) {
            return ClassResolver.INSTANCE;
        } else if (clazz == Map.class) {
            return MapResolver.INSTANCE;
        }
        return null;
    }

}